package com.jt.www.model.pol;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: cjw
 * @Description: 法人企业对象
 * @Date: 19:01 2018/6/6
 */
@XmlRootElement(name = "Corporation")
@XmlAccessorType(XmlAccessType.FIELD)
public class ContextCorporation implements Serializable {

    /**
     * 企业编码
     */
    @XmlElement(name = "CorporationCode")
    private String corporationCode = "";

    /**
     * 企业地址
     */
    @XmlElement(name = "Address")
    private String address = "";

    /**
     * 联系人
     */
    @XmlElement(name = "LinkPerson")
    private String linkPerson = "";

    /**
     * 联系人手机号
     */
    @XmlElement(name = "LinkPhone")
    private String linkPhone = "";

    /**
     * 联系人电话
     */
    @XmlElement(name = "LinkTel")
    private String linkTel = "";

    /**
     * 联系人邮箱
     */
    @XmlElement(name = "LinkEmail")
    private String linkEmail = "";

    /**
     * 法人
     */
    @XmlElement(name = "LegalPerson")
    private String legalPerson = "";

    /**
     * 营业执照编号
     */
    @XmlElement(name = "BusinessLicenseNo")
    private String businessLicenseNo = "";

    /**
     * 组织机构编码
     */
    @XmlElement(name = "OrganizationCode")
    private String organizationCode = "";

    /**
     * 营业范围
     */
    @XmlElement(name = "BusinessScope")
    private String businessScope = "";

    /**
     * 邮编
     */
    @XmlElement(name = "ZipCode")
    private String zipCode = "";

    /**
     * 许可证号
     */
    @XmlElement(name = "LicenseNo")
    private String licenseNo = "";

    /**
     * 传真
     */
    @XmlElement(name = "Fax")
    private String fax = "";

    /**
     * 详细地址
     */
    @XmlElement(name = "Location")
    private String location = "";

    /**
     * 省编码
     */
    @XmlElement(name = "ProvinceCode")
    private String provinceCode = "";

    /**
     * 城市编码
     */
    @XmlElement(name = "CityCode")
    private String cityCode = "";

    /**
     * 区县编码
     */
    @XmlElement(name = "CountyCode")
    private String countyCode = "";

    /**
     * 企业名称
     */
    @XmlElement(name = "Name")
    private String name = "";

    /**
     * 经营性质
     */
    @XmlElement(name = "ManagerType")
    private String managerType = "";

    /**
     * 企业类型
     */
    @XmlElement(name = "CorporationType")
    private String corporationType = "";

    /**
     * 三证合一码
     */
    @XmlElement(name = "ThreeInOneCode")
    private String threeInOneCode = "";

    /**
     * 扩展属性
     */
    @XmlElement(name = "ExtendList")
    private List<ContextExtend> extendList = new ArrayList<ContextExtend>();

    /**
     * 行业类型
     */
    @XmlElement(name = "IndustryKind")
    private String industryKind = "";

    public String getIndustryKind() {
        return industryKind;
    }

    public void setIndustryKind(String industryKind) {
        this.industryKind = industryKind;
    }

    public String getCorporationCode() {
        return corporationCode;
    }

    public void setCorporationCode(String corporationCode) {
        this.corporationCode = corporationCode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLinkPerson() {
        return linkPerson;
    }

    public void setLinkPerson(String linkPerson) {
        this.linkPerson = linkPerson;
    }

    public String getLinkPhone() {
        return linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    public String getLinkTel() {
        return linkTel;
    }

    public void setLinkTel(String linkTel) {
        this.linkTel = linkTel;
    }

    public String getLinkEmail() {
        return linkEmail;
    }

    public void setLinkEmail(String linkEmail) {
        this.linkEmail = linkEmail;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    public String getBusinessLicenseNo() {
        return businessLicenseNo;
    }

    public void setBusinessLicenseNo(String businessLicenseNo) {
        this.businessLicenseNo = businessLicenseNo;
    }

    public String getOrganizationCode() {
        return organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public String getBusinessScope() {
        return businessScope;
    }

    public void setBusinessScope(String businessScope) {
        this.businessScope = businessScope;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getLicenseNo() {
        return licenseNo;
    }

    public void setLicenseNo(String licenseNo) {
        this.licenseNo = licenseNo;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCountyCode() {
        return countyCode;
    }

    public void setCountyCode(String countyCode) {
        this.countyCode = countyCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getManagerType() {
        return managerType;
    }

    public void setManagerType(String managerType) {
        this.managerType = managerType;
    }

    public String getCorporationType() {
        return corporationType;
    }

    public void setCorporationType(String corporationType) {
        this.corporationType = corporationType;
    }

    public String getThreeInOneCode() {
        return threeInOneCode;
    }

    public void setThreeInOneCode(String threeInOneCode) {
        this.threeInOneCode = threeInOneCode;
    }

    public List<ContextExtend> getExtendList() {
        return extendList;
    }

    public void setExtendList(List<ContextExtend> extendList) {
        this.extendList = extendList;
    }

    @Override
    public String toString() {
        return "ContextCorporation{" +
                "corporationCode='" + corporationCode + '\'' +
                ", address='" + address + '\'' +
                ", linkPerson='" + linkPerson + '\'' +
                ", linkPhone='" + linkPhone + '\'' +
                ", linkTel='" + linkTel + '\'' +
                ", linkEmail='" + linkEmail + '\'' +
                ", legalPerson='" + legalPerson + '\'' +
                ", businessLicenseNo='" + businessLicenseNo + '\'' +
                ", organizationCode='" + organizationCode + '\'' +
                ", businessScope='" + businessScope + '\'' +
                ", zipCode='" + zipCode + '\'' +
                ", licenseNo='" + licenseNo + '\'' +
                ", fax='" + fax + '\'' +
                ", location='" + location + '\'' +
                ", provinceCode='" + provinceCode + '\'' +
                ", cityCode='" + cityCode + '\'' +
                ", countyCode='" + countyCode + '\'' +
                ", name='" + name + '\'' +
                ", managerType='" + managerType + '\'' +
                ", corporationType='" + corporationType + '\'' +
                ", threeInOneCode='" + threeInOneCode + '\'' +
                ", extendList=" + extendList +
                ", industryKind='" + industryKind + '\'' +
                '}';
    }
}
